import { createMemoryHistory, createRouter } from "vue-router";
import home from "../views/Home.vue";
import main from "../views/Main.vue";

const routes = [
    {
        path: '/',
        component: main,
        children: [
            {
                path: '/',
                name: 'home',
                component: home,
            }

        ]
    }
]

const router = createRouter({
    history: createMemoryHistory(),
    routes
})

export default router